Added user update rights checking and verification token creation fixed.