Use beeORM to DB middleware