Added user entity class. Added Activity ID function.