change password logic added