troubles with session. keep the command as non-symfony as possible