added view messages + delete messages functionality. Tested and working.