added user_id to categories and items models