added user entity and hibernate configuration