add database functionality to For Restaurants