If a player is dribbling the ball in the frontcou and steps over half court but the ball never crosses the line ie it is still being dribbled in the back court and then he steps back is that backcour?

Yes, we believe it would be considered an over and back because you are touching the ball when you cross half court.