adding password confirmation funtionality