setting up the base controller error