set variables in adminController