Added authenticate to controllers