Create database and login page