Should transgendered offenders be housed in cells or housing unit based on their birth certificate gender identification and or present genital?

Read the New York Time article Chelsea Manning Describes Bleak Life In A Men’s Prison (https://www.nytimes.com/2017/01/13/us/chelsea-manning-sentence-obama.html) and answer the following questions: Should transgendered offenders be housed in cells or housing unit based on their birth certificate gender identification and or present genital? What are the issues concerning the supervision of transgendered offenders?