basic auth for the api
api exception improvements
logging for unit test
message view
create/update a message
refactore some settings and debug toolbar
little cleanup