Change the html structure.

Clarify the index page by separating into pages. All page contents will
loading to the index when initializing.
Fix issue #5.
Update testing files.

Add testing methods for login & register function. Modify mySQL.php for
testing.