removed useless allowedContent variable.
added feature adding with the correct API call.