fixed @selected_provider issues

fixed access issues for individual provider viewing (through user login and admin viewing)