closes #3 changed set cookie call