adapted admin_navigation.rb for better performance