created successful login and new-user routes from main.html.  Needs further testing to understand sessions more.