add-user adjusted to new database model