storage info into mongodb