move to class.admin:
public function print_success and
public function print_error
because they are refferring to the backend