Implements authorization logic

Hello