Added Messages to database