added link to add app and to delete all stmts... added setting for days to delete log