Added function addLocalAccount