refactored dataModel.setUserAsRegistered() to accept values
Updated Disconnetcion logic for the demo