Create the random password in the backend instead of frontend