integer conversion added for captcha length configuration. it was not working properly for string type input
captcha configuration is integrated with view. a new method sign_up added in user model to register user based on the availability of captcha