remove unused code
use symfony 2.5 request stack