Add "remember me" on login form.

Add better error handling for api connection.

Sanitize message body when clicking "Show HTML".