register account into mongodb database
configure mongodb defualt database