Added logic to read contacts from DB, and updated identityService to read contacts db to get public key for sig verification