bill had reused some of the routines from the payroll program in terms of how approvals and authorizations were used , even tapping in to the same security database so he wouldnt have to manage one for each application .