Bug resolved regarding adding resources in topic without user login

provided condition for user authentication to add the resources in topic.