fixed prepareData for member registration API

fixed prepareData for member registration API. Removed sql for social_login_provider and adjusted the order for deleting a user