Added proof of concept for saving message to DB