creating a directive for contact functionality