Add getUserInfo method in FGConnector class and some minor improvements