login page

connect to the database and check whether the id and pass are correct