changed login and lougout to buttons