logged in user can't access login and signup page. Redirect him to profile page