added checkRoom middleware to workspace
fixed conflict