1 - hql join problem solved.
2 - registration added
3 - add relationships for entities