Continued working on the database section of the API