fixed bug with loogout button