Minor tweaks to createuser endpoints for user management