added getPrincipal msgbus method to login plugin, added created time to msgbus session