added ability to retrieve a specific entry from the db