Add password generation and email sender