Small fixes for addNewUser and findUserByName.