pass  to sidebar into base controller