The easiest way to manage downloads, building a history and allow to select preferences for a user is to use something like OpenID (http://openid.net/ - search on wikipedia for background infos).
OpenID is allready used by several big sites, including Yahoo (or planed to use, see flickr). It helps to make registration easier ("single digital identity") and more secure.
OpenID is Open Source.