Started moving login stuff to client side, added store.js and views for store