remove user register code