- extracted security definition from swagger.yml into security.yml - added seperate functions to verify tokens for a constant role - added security definitions to protected endpoints