working through the tests.  fixed logout.js to export function

logout test not yet passing.  need to commit for later working