Updated User class.