Adding message to db