added functions logoff() in the view & stopPoll() in the controller