($in{'command'} eq 'login')&&(&Login); ($in{'command'} eq '')&&(&Login); #all require password below &GetLogin; ... # passing thru Get login allows access to more program functions and additional pages. the login page actually calls the next page... via hidden form field