updated login form javascript to remove the app.js which contains a lot of unnecessary code