add post model, use mongodb instead of sqlite