modified to test data retreiving by using URL
add file to create a model to send data to the db