finish up working on the login and new_user functionality