Using upsert rather than insert when saving user to database.
Files unused.
Bug fix in user initialization.
Improvements in file upload and md5 calculation.
Modifications to get all existing tests working.