Adds getAll method to frontend