added category column to trashes table and made it attribute accessible