added register app feature