removed double definition of admin class