Finished JS'ing registration and login process, fixed a few issues
Made logout work with javascript
fixed merge conflict
fixed login form JS