1.add authentication password;2.fix some small bug