Added password generation for normal database (this time for real)