database works for meals and favorites