signup controller to swift