working on showing sent and received messages