backend
backend copied to clipboard
Rewrite capacity check function for upsert users
rewrite to take into account of replacements.