render new if post doesnt save
convert application layout to slim and add flash messages