This PR makes all the database queries that are being used on the Animal dashboard and the remaining ones on the Note workflow secure by adding session token authentication to the query itself. This allows us to show the students a good practice of ensuring that the database queries are always secured and can be performed only by an allowed user
TODOs
[x] Figure out the easy way to add the session token to the query without confusion
[x] Change all the affected database queries to use the session token
This PR makes all the database queries that are being used on the Animal dashboard and the remaining ones on the Note workflow secure by adding session token authentication to the query itself. This allows us to show the students a good practice of ensuring that the database queries are always secured and can be performed only by an allowed user
TODOs
Testing plans