Used: login-logout example with shared preferences, retained fragments and navigation drawer master-detail