Updated staff profile

I have added the code to work out the Tutor and Uni they are at. Also if
the session is not set to send them to the log in page.