One time login using jQuery Local Storage