Added redirect after login.