If you don't have discipline in your classroom, then you will not be able to teach one thing. The children have to be ready to learn.
Many new teachers think they have to be friends with the students.
Many kids need a good friend. A friend is not someone that gives in when a child wants you to. A friend is someone the child can trust. He trusts you enough to tell you if someone is bothering him and knows you will do something about it. She trusts you well enough so that she knows you will be there for her when she is upset about a family problem.