Added password encoder