Login page first part

Connection to database and check of user data missing