added app instance registration on application init