Improved comment for setUserIdFromCookie