Added check to make sure only admins can edit a topic