added register to servlet