removed commented code. Added new interface to fix isAllowed method of authentication module