fix bug in user.py
update code documentation
progress on the README