Added queries for admin panel.