Improved login.js; made both text fields mandatory.