Adding in age check with cookie support