Log in functionality

Matches user login with database and redirects to index.html if
successful. validate_login.php validates the user information

Got rid of loginpage/loginpage and put it into one folder instead
(loginpage/...)