inherit from base controller