Refactored login and sign up.  Added settings resources to logout an existing user to help testing