Fix the mistake of localhost page connection. Change a little layout