Modifying data type for User class