pc
added AuthenticatedSession class to refresh balances, also improve logging to incllude time, function name
small changes