redirect from profile page if user is not logged in