Implemented login page and API connector.