register handler, register html