added a userid and time into the alert object