Added Teacher Detection to Invoice Management