Working on authorization UI and logic