FIX: clicking back button does not logout user