added user to local storage