Added alert checks to actions attempted by anonymous users