Changed res to response. Variable was wrong.