What is the legal situation regarding the publication of a joint book?

Hello everyone, Some friends and I want to write a book in which each of us tells our own story on the topic of "depression and borderline personality disorder." (Each of us will then be credited as the author above our story.) I'm supposed to publish this book through print on demand and list it…