Improved admin panel and refactored rootScope