Fixed the error where user property was missing in sql

Fixed the error where user property was missing in sql