add restrictions for uploading and deleting
added stubs for when tests are randomized