db accessor fixes for non-manage pages
add config to gitignore