More updates

Just pushing to keep updated on the users.php script, condensing api
stuff