Implement get matches service with secure permissions. Additional functionality in the match database