fix form for cookies so required attribute will work
fix spacing