improved the way errors are handled when creating users, logging in and creating stores, also some code restructure
conflict fix in Store.java