Add /api/randomString and generate password button