An ajax form login for Symfony 2