get the login_info from machine ruby