admin query for all entries and query by user id