devserver module & profile middleware