added query layout for administration layout view