While loop password creation problem

#!/bin/bash
#Filename: Assignment Author: Luke Francis
quit=n
while [ "$quit" = "n" ]
do
clear
echo "OPERATOR ADMINISTRATIVE TOOL"
clear
echo "1. User Information"
echo "2. Network Connectivity"
echo "3. Processes"
echo "4. System Information"
echo "5. Hardware Utilization"
echo "Which option do you require?"
read menunumber
case $menunumber in
1) echo "USER INFORMATION"
echo "1. Registered Users"
echo "2. Disk Usage"
echo "3. Last Logins"
echo "Q.Quit"
echo "Which option do you require?"
read menunumber2
case $menunumber2 in
1) awk -F: '{print $1}' /etc/passwd
echo "Hit the Enter Key to continue"
read junk;;
2) du
echo "Hit Enter Key to continue"
read junk;;
3) who
echo "Hit Enter Key to continue"
read junk;;
Q|q) quit=y;;
*) echo "INCORRECT PASSWORD"

I have managed to get this working, but only at the cost of removing my password entry statement. My statement was as follows:

read password
if [ $password -eq 0600519 ]
then
clear

How can i now implement this so it still functions the same but in the while loop.

Please put code inside [code] tags.

Please post the minimum complete script that demonstrates the problem.

What i want to know is what code must i implement to allow a user to login after entering password of 0600519 when prompted at "OPERATOR ADMISTRATIVE TOOL" screen. Where should i place it as previous attempts have failed.

There is no prompt to enter a password in the script you posted.

Where do you want it? Where does it logically belong?

Please re-read my previous post.