Working add and list for mongodb