API optimisation

Optimized queries to API for the AdminPanel in the menu section.