add security password encoding