Hook up DB to login page