Changing text of login and logout buttons when clicked