Changed up the login window and added authtoken to the user object.