added boolean to check if user data is sending