Daynamically creating queries from sObject based on field securities and access setting