Add the code to retrieve the subscribe setting from the user
and profile table.