implement getAll and getById methods