Split checkTime middleware to checkTime and checkFinished

Reorganize routes (Work in progress)