Create login.js

moved the javascript for form validation here since login.php was getting too long
Merge pull request #31 from irenejea/patch-26

Create login.js