refactored some routes as well as fixed the forum input for food search