save to database

Saves to message to remote database, with error on client side