version 1.3

debugged generating cookie