added pandit authrization conditions