Removed unused client field
Inserting data into database