That gets the code there but doesn't help with the address rewrites. There's another problem with the way the application processes logins so I'm thinking this won't be solved with simple rewrites and ...