add LOGIN_URI and DEBUG