trim jsession id from urls before we store them (finally), and better error handling
get first_author from authors if not already there, clean up its whitespace