added code to get the users from sharepoint