Update users.py

flask.ext.principal update name to id.