use shared prefs for regid