Fixed issue with empty userID

empty ID can no longer add ingredients to the backend.