Adminka auth refactoring