- implemented the score api resource