messages now coming from database
messages now based off db