index view and login
added authorization layer, login and logout