add mongodb connection part and Jade template