fixed redirect after sign in