setup login routes and created login form