Fixed Sign in redirecting to itself