added authentication to idea controller