Fix dimensions of login&logout button
Fixed error handling for doctypes-getText-call