Hiif I understand correctly, let's try this one for a start:
if (Input1 == 0 ) { return1;} if (Input1 == 1 ) { return0;}
Login with username, password and session length