login page and initial lib setup