add 'session' and 'cookies' methods