validation added to addDS and purgeDS templates as well as bootstrap