Moved flash message to layout page