active customer logic