update npm packages
refactor stores, wait for login