add swag and fix cookies on ios. fix port in .env