Added cookie for registration