Updated addContact() and removed null printing