/workflow endpoint connected to database
Implementing authentication