added loader and AppAlert