1,modify the login page
2,use $host_name instead of localhost