Redirect to login window in UserService sample