Problems with mosfets

Wrong circuit - you have shown a source-follower - this is not how to connect a MOSFET as a switch (you need common-source circuit, load on the drain).

Where did you get this bad circuit from?