Change get_password to generate_password