fixed the ajax calls
fized ajax calls in food controller
fixed ajax calls on profile controller