admin access&redirect fix