fixed logout option from main page