Everything is broken, refactoring into SignInManager