Move is_admin to _render() function