not sending user details attribute if value is null