yudopplyr:
Note: I added a 10k resistor to ground connected to the Gate, is it ok, or should I remove it?
It's not necessary - either the optocoupler is off, in which case the FET is turned on, or when the optocoupler is on, it is pulling the gate to ground. The resistor is only necessary when you are driving the gate directly from a microcontroller pin which may be neither "on" or "off" as the program is starting up.