Added login and register views.