Added API call for query logevents and updated Whatlinkshere