form - added cookie, minor cosmetic changes