db calls and async task added