small edits on class
password recovery