added view  contact functinality