implement base view controller on every pages