Refactor API
Fixed mark as read for messages
Refactor API
Fixed mark as read for messages