changed DB column name 'userId' to 'user_id'