Creating a login and logout form in MVC is easy. Let's start with the login form. Change the controller to App_Start Controller and add a new action called Login()
public class App_StartController : Controller { public ActionResult Login() { return View(); } }