initial backend assignment routes, middleware and controllers