Updated db schema to accept null locations and use identity for ID
Exclude resources from sender and receiver stored in DB