Authentication module based on Doctrine 2 ORM Module