prepare middleware with some ipfilter methods
rn
fix redir
fix
fix mmiddleware (copy methods from view)