add rough implementation of flash system. added alert system in base ctrl which uses flash to survive redirects