admin messenger & query function