Implemented change password method (given a token, current password and a new password)