The logic structure here is a little confusing. There's an ```if user_data```, then an ```if not user_data```, then an ```else```.