logOut button is added, when it is clicked the program is exiting and logging out