Added cookies to web framework