while (bIsValidChoice): print("\n1. ADMIN") print("2. REPORTING AUTHORITY") print("3. EMPLOYEE\n") sLoginChoice = int(input("LOGIN AS : ")) if (sLoginChoice == 1): adminLgn = Admin() adminchoice = True checklogin = True while (checklogin): sUserId = input("\nADMIN USERNAME : "******"ADMIN PASSWORD : "******"\n------------ VALUES CANNOT BE NULL --------------") checklogin = True if login.checkAdmin(sUserId,sPassword): checklogin = False #print("------------ INVALID CREDENIALS --------------") while (adminchoice): print("\n------------------------------------------------------") print("\t\t\tADMIN") print("------------------------------------------------------") print("\n1. ADD NORMAL EMPLOYEE") print("2. ADD REPORTING AUTHORITY") print("3. LOGOUT\n") sChoice = int(input("OPT FOR : ")) # ADD NORMAL EMPLOYEE if (sChoice == 1): firstchoice = True employeeUserName = ''