Applying Security to your NodeJS pages

Perhaps you are running into this?