Add database methods for storing/retrieving presence data