Fixed problems when users logout
Update docs and copyright