ORM code for silex-simpleuser