Beginning of addPost
Connection string for mongodb