Hi,

What i mean is in your system you have that employee id for one user only right.


For testing remove the while loop and use if 


Thanks,
Ashutosh