Changed User to struct.