search controler and userfos controler optimize