added logic to load messages at request in db

display messages from db
read message functionality when viewing details
display total read from total