optimized localstorage.mail in signin page