added getcontact to the controller