server module access to cookies changed > no longer a function