now adds received messages to database FREEBIE