Code refactoring, In-App authorization was implemented