added view contact functionality