Added tab controller for the two views.