Fixed redirect after login