added ability to associate phone with installation, skip login if already logged in