Updated frontend PlaylistsController to use service