Function checkAlert done

Obtain alert list from DB