Fragments use getParent() instead of a Handler
finish the activity on Logout