Switch to wp_get_theme to remove deprecation notice
Change role retrieval to pull actual role name