connecting login page to server, implementation still not complete