complete the connect-flash and express-session problem