index. register, servlet modified