name gets saved in cookie