Added capacity to always check cookies first