fixes routing
PA-57 #comment: implements db getter and setter for completing a task on stage table