new documents can now be saved to the database
now using mongoose to interface with mongodb