Post messages to database