change membership_id logic and add registration-set-password