Added authenticate before action