Update api.php

lstuser (not finished yet)