changed AbstractClass class : added user check