updated to support express 3 without warnings. Added connect-flash to example so it wouldn't crash