api_views.py:
- BUGFIX: catch if Sample queryset is None
- added login_required to api_root

serializers.py:
- added url to SampleSerializer