added an addUser function