add application job endpoint; link route and controller function