Add getCookie(). Stuff should use this now instead of accessing $_COOKIE directly