Updated class User.
Updated order of attributes. Simplify url generation.