Hold on to the previous url and redirect that after sign in