Add: Store last successful login in localStorage and bring it back later.