added stores, categories, and fixed a few bugs with login and logout