better with the good url for the ajax method