slight change in users api to comply with pep8