redirect to authentication page if user is not logged in and took an action