Add server side db access