modified jade template and added account model