updated the /contacts/:id to use the database contact.get method