attempt at having users#preferences to redirect to modal if no email add...

trying to test the preferences, and getting this error: