cleaning the user detail UI