add password and authen feature