moved flash msg to navbar