Added authenticate decorator