completed server side code for food add/remove messages