Fixed logout issue with using req.session after destroying it.