changed userid to global var added logout for list changed / directory to /list