Added flash message with redirect