simplify cookie add path and expires