Password generation is now working