change pages to haml
change sessions to haml
change error message partial to haml