Adding flash message system and corrects few signing bug