cleaned up routes. Removed unnecessary routes
Added constraint to email.
cleaned up controller generated using scaffolding. Removed json responses.
After successful login, the user gets directed to tasks page.