added views for login and register