added methods for interacting with browser cookies