Second form of setflash

Added a second form of setflash for setflash coming from other
controllers in users dashboard