Convenience function for getting db resource in user ns
Fix annoying bug on article creation