register app
close #7