Added getAllMatches in persistence and service layer