added redirect after authentication for deep-linking