Prevent displaying app if user is not logged in

fixes issue #18