small fixes
added logout