remove sizeWithFont, execute logout out of succeeded block