Used GameRepository class for Index and Details pages