added morgan and debug