Set dependencies to users and ads