added new routes and templates
added user login