async-await in logic, repo and context implementation