base authentication for farmers