Cookie making and validation done