reading mails works :)

- removed the semicolons in the UI code
- removed the HTTP endpoints to be full socket.io
- now the correct emails are shown on login (unread first, others after and by date)
- modified the app to be a full one page app
- started to add better loggin to the UI
- cleaned some logs in the back end