Also, cranks don't just come loose all the time. It was likely not tightened down enough once, and the hard steel BB spindle started rounding out the square aluminum hole in the crank, then it couldn't ever get tight enough.
Tighten everything to spec. on your new setup to prevent it from happening again.