update login and register to redirect to we.js account server