remove sijax and place flash messaging into logic