Fix bug in users class