Fixed problem with chrome caching by making API calls their own route instead of just checking for XHR requests