added in 'current' to the ajax routes in index.php