added login_controller and some views