adding serializable to the cdi beans