Register view controller