fixed useradd in createUser method