added view controller for register