$stmt=$database->query("SELECT username, status, oauthidentitycache, lastactive FROM user where status in ('User', 'Admin') and oauthidentitycache is not null");
$result=$stmt->fetchAll(PDO::FETCH_ASSOC);
$stmt->closeCursor();
$stmt=$enwpdatabase->query("select user_name from user_groups inner join user on user_id = ug_user where ug_group = 'accountcreator'");