User warning system works very good now, email are sent and treshold is created equal to 3