Added redirection to profile page if user logged-in already.