Add insert and retrieve mongoose code