Allows contact name and address to be added and writes new data to database.