I tried to open a book from trine library but it is telling me that it is unable to generate user token and that I have to log out and log back
The first thing I would suggest is trying another browser. Sometimes we have issues with some browsers and off-campus access. If that doesn't work, I will need more details regarding what you are trying to access - are you attempting to look at an ebook through the catalog, or directly through one of the databases? Which book is it?
Information Services Librarian