extending admin functionality; implemented query capabilities;