Fix indent
Convert remove user into json function
fix base-url -> base_url; add edit_users support