Added Edit Authorized Contacts

Fixed tables in sql code
Added new inserts