Add new user and refactor change root accout password function