fixed login error by redirecting to /user/sign-in