further enhancements to javascript
continued work on user login