Adding data to the database