Added ability to display widgets in client and admin views.