5.3 log out functionality, view and controller