created contact adder functionality