The model and serializers files for the session api