adding authorization.
remove synchronized
udpate regex.