fix redirect after signing in