plugin authentication modified