What's the type of the value that loggedIn stores?

StringNumberBoolean

The values true and false are booleans.