Added user data validation