FIX : Testing if a token is defined before accessing the user in the toolbar menu