Don't set the cookie for just anyone, only a logged in user