Add create alert and load alerts function.