BUG FIX: Crashes when app.js tries to access account when not logged in.  Put defence against null account and also removed redundanct contacts/activity code