from django.shortcuts import render_to_response
from django.shortcuts import render
-from unfold.loginrequired import FreeAccessView
+from unfold.loginrequired import LoginRequiredAutoLogoutView
from manifold.core.query import Query
from manifoldapi.manifoldapi import execute_query
from myslice.theme import ThemeView
import json
-class InstitutionView (FreeAccessView, ThemeView):
+class InstitutionView (LoginRequiredAutoLogoutView, ThemeView):
template_name = 'institution.html'
# expose this so we can mention the backend URL on the welcome page
env['person'] = None
env['theme'] = self.theme
+ env['section'] = "Institution"
env['pi'] = pi
env['username']=the_user(request)
env['topmenu_items'] = topmenu_items(None, request)