Can anyone help me

Step1: Remove functionality requiring customer to be logged in to use?

and then

Step 2: add CAPTCHA.