modify user management and base functions