Added async to db calls