sessions/before action
json serializer