cleaned basecontroller construct()