Fixing logger interface and adding session handling to ServiceListener. NOTE: CURRENTLY UNTESTEDgit statusgit status