Add login() and addFood() functions