Changes routes to match the views, adds the login route

I had forgotten the pull request 
![](https://i.chzbgr.com/maxW500/6761826304/h7DF8B0C4/)