Fix "Trying to get property of non-object" when saving/adding new user
#326