added functions to get specific messages and chatroomusers based on user_id and chatroom_id