I’m using MODx as the main content for a site, but it also includes some external PHP apps. As I’m using MODx for user login, I need to be able to detect - from the external app - when someone is logged in as an admin. I’m searching on this, but if someone can help point me in the right direction, I’d be grateful as I’ve no idea how MODx does user verification.