Basic flash errors and GoalsController refactoring