Bug/warning fix for the user model

set default values, was causing a warning