added mongo info function, change admin redis template to database template