add mysql view controller