ch 4: added morgan for logging