added logout to account view