move signal registration to AppConfig