Add getGoalById method to GoalService