client id key now saves on app close and restart