added order + where method client controller