implement device info + retreive token using SharedPreferences