encoded cookie from js and logout
Merge remote-tracking branch 'origin/master'