Need LCD to display message before entering fingerprint or password

Hi all. I have completed a project interfacing a fingerprint sensor, a keypad and an LCD. When the fingerprint sensor detects a fingerprint, the LCD displays the message access granted. If a correct password is entered, the LCD displays the same message. If an incorrect password is entered, the LCD displays access denied. The problem is, I am trying to have a message displayed on the LCD before either a fingerprint or password is detected. Such as “Enter Fingerprint/Password”. I don’t what code to use for this. Or where to put it. Any help would be much appreciated. Thank you. Here is the code I am using.

#include <Adafruit_Fingerprint.h>
#include <Password.h>
#include <LiquidCrystal.h>
#include <Keypad.h>
#if ARDUINO >= 100
#include <SoftwareSerial.h>
#else
#include <NewSoftSerial.h>
#endif
LiquidCrystal lcd(10,9,8,7,6,5);

int getFingerprintIDez();


#if ARDUINO >= 100  
SoftwareSerial mySerial(2, 3);
#else
NewSoftSerial mySerial(2, 3);
#endif

Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial);


Password password = Password( "147*" );
const byte ROWS = 4;
const byte COLS = 3; 

char keys[ROWS][COLS] = {
{'1','2','3'},
{'4','5','6'},
{'7','8','9'},
{'*','0',' '}
};

byte rowPins[ROWS] = {13,A0,A1,A2}; 
byte colPins[COLS] = {A5,A4,A3}; 
const int buttonPin = 52;
int buttonState = 0;


Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );

#define redLedPin 11
#define greenLedPin 12

void setup() 
{
Serial.begin(9600);
Serial.println("fingertest");



finger.begin(57600);

if (finger.verifyPassword()) {
Serial.println("Found fingerprint sensor!");
} else {
Serial.println("Did not find fingerprint sensor ");
while (1);
}
Serial.println("Waiting for valid finger...");
pinMode(redLedPin, OUTPUT);
pinMode(greenLedPin, OUTPUT);
digitalWrite(redLedPin, LOW);
digitalWrite(greenLedPin, HIGH);

lcd.begin(16, 2); 
Serial.begin(9600);
keypad.addEventListener(keypadEvent); 
keypad.setDebounceTime(250);
}

void loop() 
{
getFingerprintIDez();
keypad.getKey();
buttonState = digitalRead(buttonPin);
if (buttonState == HIGH) {
lcd.clear();
lcd.setCursor(0, 1);
keypad.getKey();

}

}

uint8_t getFingerprintID() {
uint8_t p = finger.getImage();
switch (p) {
case FINGERPRINT_OK:
Serial.println("Image taken");
break;
case FINGERPRINT_NOFINGER:
Serial.println("No finger detected");
return p;
case FINGERPRINT_PACKETRECIEVEERR:
Serial.println("Communication error");
return p;
case FINGERPRINT_IMAGEFAIL:
Serial.println("Imaging error");
return p;
default:
Serial.println("Unknown error");
return p;
}



p = finger.image2Tz();
switch (p) {
case FINGERPRINT_OK:
Serial.println("Image converted");
break;
case FINGERPRINT_IMAGEMESS:
Serial.println("Image too messy");
return p;
case FINGERPRINT_PACKETRECIEVEERR:
Serial.println("Communication error");
return p;
case FINGERPRINT_FEATUREFAIL:
Serial.println("Could not find fingerprint features");
return p;
case FINGERPRINT_INVALIDIMAGE:
Serial.println("Could not find fingerprint features");
return p;
default:
Serial.println("Unknown error");
return p;
}


p = finger.fingerFastSearch();
if (p == FINGERPRINT_OK) {
Serial.println("Found a print match!");
} else if (p == FINGERPRINT_PACKETRECIEVEERR) {
Serial.println("Communication error");
return p;
} else if (p == FINGERPRINT_NOTFOUND) {
Serial.println("Did not find a match");
return p;
} else {
Serial.println("Unknown error");
return p;
} 


Serial.print("Found ID #"); Serial.print(finger.fingerID); 
Serial.print(" with confidence of "); Serial.println(finger.confidence); 
}


int getFingerprintIDez() {
uint8_t p = finger.getImage();
if (p != FINGERPRINT_OK) return -1;

p = finger.image2Tz();
if (p != FINGERPRINT_OK) return -1;

p = finger.fingerFastSearch();
if (p != FINGERPRINT_OK) return -1;


digitalWrite(redLedPin, HIGH);
digitalWrite(greenLedPin, LOW);
lcd.print("Access Granted");
delay(3000);
lcd.clear();
digitalWrite(greenLedPin, HIGH);
delay(1000);
digitalWrite(redLedPin, LOW);
Serial.print("Found ID #"); Serial.print(finger.fingerID); 
Serial.print(" with confidence of "); Serial.println(finger.confidence);
return finger.fingerID; 
}
void keypadEvent(KeypadEvent eKey){
switch (keypad.getState()){
case PRESSED:
lcd.print(eKey);
switch (eKey){
case ' ': guessPassword(); break;
default:
password.append(eKey);
}
}}

void guessPassword(){
if (password.evaluate()){
digitalWrite(redLedPin,HIGH); 
digitalWrite(greenLedPin,LOW);
delay(2000);
lcd.setCursor(0,1);
lcd.print("Access Granted"); 
password.reset(); 
delay(2000);


digitalWrite(greenLedPin, HIGH);
delay(1000);
digitalWrite(redLedPin, LOW);

lcd.clear();
}


else{
digitalWrite(redLedPin,LOW);
lcd.setCursor(0,1);
lcd.print("ACCESS DENIED ");
password.reset(); 
delay(3000);
lcd.clear();
}
}

Do you want it to always display this message or only when someone it near the finger scanner? If it is always going to show the message then just have, lcd.print("Enter Fingerprint/Password"); (NOTE: this may not display the entire message) I dont know how many characters your screen can show, 16 or 20? You can split the message up and put it on seperate lines. In which case it would be,

lcd.setCursor(0,0);
lcd.print("Enter Fingerprint);
lcd.setCursor(0,1);
lcd.print(" Or Password");

Now if you want it to display the message when a person is near the finger scanner, your going to need a distance sensor. (Ping or IR, your choice)

Thanks HazardsMind. I want it to display the message. And then once a fingerprint is detected I want to message to disappear and for the Access Granted to appear. And for the password ,for the message to disappear once I start entering the password. I don't know if that makes sense. Thanks again.

Everything you want is extremely simple to do and you have plenty of examples in the code already. I can assume you did not write this code yourself, so I would suggest you get familar with the code and understand what does what. Once you know what each segment does, you can then add the messages you want, in the right spots.