Made captcha library working, also display register errors