small bugfixes :
- logout 404 in index.html
- undeclared variable messageform in chat.js