Added lots of comments to User.class.php