Okej found the real issue regarding this problem. It has to do with my cache. Seems like the sessions are being cached when i use maxAge on my public folder. After i removed the cache the sessions were being cleared as expected.
Anyone how an idea on how to disable cache for sessions but not for static content?
UPDATE
Got it working with cache now. By clearing the sessions in the res.render callback and than calling res.send() and passing in the html that is return from res.render().