Register app to DB