Add support for websockets and editing
Add logout functionality
Add registration endpoint; update the ajax helper