trying to add registration controller for ios