Added queries for getting contact data out of the Database