Added route to menu page.
Added showLogin and modified doLogin.
Replaced index route with get and post routes.