Finished the read/unread function for user and admin.