created http utils and moved sendError there.  allowed sendError to be curried/partially applied and used in user and payment routes