implementing alerts on users edit