User::createUser now returns last inserted user's id