whitespace
cleanup
user better session store
rudimentary api tests