building get set logic for admin console