what kind of sensor and how to put it on arm joint

Replace you servos with something like this:Servo with feedback.

Paul