Added AUTH COOKIE set middleware