Added password generation for normal database