fixed error msg
flash errors fixed and views improved