use layouts for the login and server dialogs
fixed the server manage dialog