Not redirecting to reset after login