made entity serializable and add serialVersionUID