start adding some extensive test but got stuck as I could not figure out how to send the cookie back that will stick