Added authentication for local