added token authentication and tests for creating the token
adding broken tests for delete method