user is no longer undefined