Make the isLoggedIn function more efficient.

Multiple calls to this function resulted in multiple database calls. The
isLoggedIn variable is now cached in the DIC.
Add isLoggedIn performance fix to changelog.
Merge branch 'feature-improve-isLoggedIn'

Conflicts:
	CHANGELOG.md