Adding db and auth for points