viewset way and automatically creating api url