add foundation flashes
cleaning up controllers