Add an "Edit" link for pages and posts when the user is logged in and allowed to edit