Added login with Doctrine2