Fixed bug in usersocialnetwork.hbm.xml and comment db autpcreation