Logout function
Merge branch 'master' of https://github.com/loclamor/nuit2013