index using deprecated async method
index, show methods using Promise to get async database access