user_data method fixed