added login controller, view.