Custom database interface for keeping track of contacts