adding restrict link to events