remove hardcoded 127.0.0.1:3000 for login logout URLs