-fix check username and password, url catch pattern