fixed log-in and log-out bugs
Merge branch 'master' of https://github.com/mcoelho/CodeSnips-v2