Added addNewUser() method to database, refactored generateUsers() to
make use of it.