Additional cleanup not covered in tutorial. Mostly related to password_digest