changed the arguments order for the extension methods of logging with session information
improved the comments of logging extension methods
fixed the bug that some session error logs didn't have session relative information