School counselor admits to having a sexual relationship with a student