Added user_id to invoices. Added invoice observer