Ensured that max-age is set for logged in users as well