updated controller for login w/ model
added controller login and model login