Updated InsertUser function to handle org array