migration to hibernate, additional dog and user fields