Bug on saving users

Signed-off-by: Luke Oatham <lukeoatham@gmail.com>