added lazy loading for user entity,
added test cases for user entity