I recreated your circuit, added what i thought was missing, this will give you a nice cleanish 5v output...
But please don't use it if you have to come in contact with it daily, when the 240v cap on input fails, your heart will fail as well if you're touching anything conductive