A bit of PHP 7.4/8.0 cleanup
Refactor long array() syntax to short [] Since app is using PHP 5.4+ already, the longer `array()` syntax can be refactored to shorter `[]`.
remove the register_globals dependency
Fix error message
- Use a token I actually know what is - Remove useless exit/echos
Add an API to retrieve details about individual users