Restricted all the url patterns from unauthorized access.