Implement redirecting user to protected page after successful sign in.