Add basic checking to username and password.