Changed setCookie to addCookie
Changed a few things in the Request class