worked at setter and getter method at user model.