added captcha and made a fixed frontend errors