Adding debug info for devenv, show page for users (testing out Rails), and error and flash dialogue rendering
Make flash alert code cleaner