refactored provider signup controller