implemented random_password_login