Began implementing user login functions