added contact authorization. adding formtoken listener