Redirecting to profile after logging in