mapped the MSG entity to the database, created the "mark msg as read" function
replace string msgID with Int64 msgID