finish login & register page
move from test.html to index.html