log in, sign up, and authentication back up and running

multiple buttons on single form, response based on button clicked
generate default username upon account creation
refactored form and authentication
Fixed merge conflict