added flexi-auth