Apply the user's token for the ajax requests