Added login and register routes. Added login and register forms to login page. Updated a few methods in UserController.