Added check that user is not in class folder