updated flash message
minor bugfixes, updated to work fine with osclas 3.2, used admin menu class, added model class