wrote some code to write data to the data base. writing in the projects in project.py