Fixing session store.
more of the login stuff done.