adding all of the if statements for the isGuest bool statement