Common menu logic moved to client side
Admin menu logic moved to client side