adding logout button once the user logs in