added repr for user and a validation call for users.
Merge branch 'python2'

Conflicts:
	db.py
	server.py