refactor: extracted authorization object from LoginController