simplification of users API
add create entities test case
fix hash code calculation