Adding tab controller