added ids to login form and added a login model and view to login.js