added spring security and more organization to javascript
adding the login page