Added local authentication