home page implemented and integrated with mongodb