Modified the login form in index.jsp and added a login.js which shall
take care of validation of the login form and also form submission using
ajax