create base view and serializer for social authentication