Login

Finishing up the login code