Fix bug in users controller