[Lab03]: Authorization. Refactoring.