parsing cookies
using cookies works