Do I need to manually enter in gcode to turn off the bed and nozzle?
Using Cura 3.0.3 to create the GCODE and OctoPi/OctoPrint 1.2.7 to print: By default the printer turned off the nozzle and bed, and also homed the X and Y axises.

You can set start and end GCODE in the preferences for the machine, like so: