remove homes to avoid errors when creating users again
delete unused code and some refactoring