Refactoring authorization logic