You should pint the result of getCurrentUser before and after you call ParceUser.logout to help yourself debugging.
Also where is the place where the user gets logged in to start with.