add dependencies to class define user