inserted contact functionality into view resource page