Added ensure admin middleware