Using generic version of calling a class name

Instead of using `$this->data['User']` changed to a generic version : `$this->data[$this->alias]`