first saving of data into the database - not really working