I\'m new to node and I\'m pretty sure I\'ve set up the middle ware and express to use flash messaging however I still get the error:
Error: req.flash() requires se
Please check mongodb connections. there may be an mongo error like "mongoError: Topology was destroyed". To fix this issue, check here