add haml view functionality (prettifying)
comment out 3rd line again
change to redirect and flash