Fixed regex error with the login url