I am creating a Standalone action and want to show the modal form only if the user is authenticated, else redirect them to the login page. How can I do this?