Remove commit() hack from User::addToDatabase()