allow the router to invoke functions on the load of workspace