added flash capability to basecontroller