Check for allowed user state if enabled.
Merge pull request #63 from MichaelGooden/feature/check-login-state

Check for allowed user state if enabled.