remove register functionality