Admin Queries page code structure created