simplified response send
refactoring/simplification mostly around proper usage of express