Adding to backend collection. Storing collection in session. CORS headers.