#else:
                     #    pi = "is_pi"
                     user_email = str(self.request.user)                   
-                    pi = authority_check_pis(self.reques, user_email)
+                    pi = authority_check_pis(self.request, user_email)
 
                     # check if the user has creds or not
                     if acc_user_cred == {} or acc_user_cred == 'N/A':
 
         return render_to_response(self.template, env, context_instance=RequestContext(request))
 
     def get (self, request, authority_hrn=None, state=None):
-        print " -----  institution",authority_hrn
         env = self.default_env()
         if request.user.is_authenticated(): 
             env['person'] = self.request.user
 
             # select column.name from local:object where table=='authority'
             authority_query = Query().get('authority').select('authority_hrn', 'name', 'address', 'enabled','description', 
                                                               'scientific', 'city', 'name', 'url', 'country', 'enabled', 'longitude', 
-                                                              'tech', 'latitude', 'pi_users', 'parent_authority', 'onelab_membership', 
+                                                              'tech', 'latitude', 'pi_users', 'onelab_membership', 
                                                               'postcode').filter_by('authority_hrn','==',user_authority)
             authority_details = execute_query(self.request, authority_query)
             
 
        <div class="row">
                <div class="col-md-12">
                         <div class="breadcrumbs">
-                                Management  >  Institution: <span id="authority_name"></span>
+                                Management  >  Institution: <span id="authority_name">{{user_details.parent_authority}}</span>
                         </div>
                </div>
        </div>
                $(this).tab('show');
        var id = $(this).attr('href').substr(1);
         /*
-       if ((id == 'requests') || (id == 'about'))
+       if ((id == 'requests')){
                $("#" + id).load('/management/' + id);
+        }
         */
+       if ((id == 'requests') || (id == 'about'))
+               $("#" + id).load('/management/' + id);
        });
        var hash = window.location.hash;
        if (hash) {