setup basic security redirection for secured and admin