Add secured database API