Corrections to routing

Removed / and redirected all requests to /main instead of /login.