system getting messages from db by receiver_id