Changed some part for register view controller