Fix APE connector and UserManager