Extended and commented the User class. Some changes in other classes.