if user_data['name'] is nil, use the jid without domain for name

For when user_data['name'] is empty, which it is for one of my bots.