fix redirect bugs in account.class
add document root to redirect in redirect.class
fix errors in fixurl smarty plugin