admin console logic