simplified logicl operators in LoginInputGui and NoteInputGui