I would like to log access to specific resources on my website, while I have an existing mechanism in place to do so it is clunky and needs improving. User have to click to make a request then make yet another request in order for the site to log the request.