add register css and validator