Admin menu logic moved to client side