adding admin panel dashboard and helper functions