handling of UserProfile.DoesNotExist exception