Cookies are now working properly. Documentation will be added later.