Add support switch between admin and anonymous.