adds base controller which take care of alert views