send better response back
first attempt to using mongoose and refactor