working on setting cookie