Updated the Login model and view