Adding db access