User.kod changes

To stop ghost spawning (no pen) and also to reset flag on logon.