Can’t redirect to the next page after login, and after logout back to first controller.