Init homework 3 based off project 1.
Authorization and login handling for homework 3.