added logout button and resized windows