change dependencies for use method "send" and not "redirect"