added a protected attributes in topics controller