Fixed redirect after login.