prepare for error handling

Added return keyword to all res methods.
All errors now return next(err); for the error middleware.