app based on second middle man tutorial code