Added password validator, fixed docs