Completed log in

Completed auth check, log in/log out.