login, localstorage, rule setup