Moving form definitions into respective model files.
Creating javascript for login page
Creating javascript for the login page.