Changed flash to allow for get and set of flash, this will allow for user to get flash message without
having to look into the $_SESSION variable