added isLoggedIn() test

Signed-off-by: Christian Lüthold <biocodr@gmail.com>