got authentification working with one unknown error in beforeSave User.php model