Created user-current-goal function