divers patch on ORM, add login page, error display