Add loop to the medals page