refactored the static view, queried my mongodb to fetch data and pass that into the view, updated the front-end UI script to hide the form on save