Make sure logout waits until user is actually logged out
Merge pull request #196 from krazemon/logout

Make sure logout waits until user is actually logged out